<?php 
/*
* ----------------------------------------------------------------------------------------------------
* MENU FUNCTIONS
* @PACKAGE BY THEMECENTER.NET
* ----------------------------------------------------------------------------------------------------
*/


/*------------------------------------------------------------------------
*Top Menu
------------------------------------------------------------------------*/
function TT_twitter($title,$twi_user,$name='TT',$count=3) 
{
$return ='
         <div class="twitter-box" style="text-shadow: 0 0px 0 rgba(255, 255, 255, 0.54);color:#90989B;">
                 <img src="'.IMAGE_URI.'/twitter_icon.png" alt="Twitter Bird">
             <div class="tweet_'.md5($name).' query"></div>
         </div>';
$return .= '<script type="text/javascript">	jQuery(document).ready(function() { 
		jQuery(".tweet_'.md5($name).'").tweet({
			username: "'.$twi_user.'",//Change with your own twitter id
			//join_text: "auto",
			//avatar_size: 32,
			count: '.$count.',
			//auto_join_text_default: "we said,",
			//auto_join_text_ed: "we",
			//auto_join_text_ing: "we were",
			//auto_join_text_reply: "we replied to",
			//auto_join_text_url: "we were checking out",
			loading_text: "loading tweets..."
		});		
	}); </script>';		 
return $return;
}


?>